/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.TauDAO;
import DTO.Tau;
import java.sql.ResultSet;

/**
 *
 * @author PC
 */
public class TauBUS {
        public static ResultSet  TimKiemTatCa() {
        return TauDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(String MaTau)
    {
        return TauDAO.KiemTraTonTai(MaTau);
    }
     public static boolean Them(Tau n) {
         return TauDAO.Them(n);
     }
    public static boolean Xoa(String id) {
         return TauDAO.Xoa(id);
     }
  

   public static boolean Update(Tau NV,String id){
          return TauDAO.Update(NV,id);
     }

}
